
$exec = [System.IO.Path]::GetFileNameWithoutExtension($args[0])

& "tsc" "$exec.ts"

& "node" "$exec.js"

Remove-Item "$exec.js"